package com.heima.schedule.service;

import com.heima.model.schedule.dtos.Task;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-11-02 10:38
 */
public interface TaskService {

    public Long addTask(Task task);
    public void deleteTask(long taskId);
    public Task pollTask(int taskType,int taskPriority);


    public void zsetToList();
}
